package com.francisco.ets.modele;

import java.awt.Color;
import java.awt.Graphics;

import com.francisco.ets.util.Labo1Const;

public abstract class Forme 
{
	private int nseq;
	private int pointDepartX;
	private int pointDepartY;
	private Color couleur;
	
	public Forme(int nseq, int pointDepartX, int pointDepartY) {
		this.nseq=nseq;
		this.pointDepartX = pointDepartX;
		this.pointDepartY = pointDepartY;
	
	}
	public Forme()
	{
	}
	public int getPointDepartX() {
		return pointDepartX;
	}
	public void setPointDepartX(int pointDepartX) {
		this.pointDepartX = pointDepartX;
	}
	public int getPointDepartY() {
		return pointDepartY;
	}
	public void setPointDepartY(int pointDepartY) {
		this.pointDepartY = pointDepartY;
	}
	
	public Color getCouleur() {
		return couleur;
	}
	public void setCouleur(Color couleur) {
		this.couleur = couleur;
	}
	public abstract void drawFigure(Graphics g); 
	public int getNseq() {
		return nseq;
	}
	public void setNseq(int nseq) {
		this.nseq = nseq;
	}
}
